package com.zkx.blogweb.mapper.service;

import com.zkx.blogweb.entity.Bolg;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author zkx
 */
@Transactional
@Service
public interface BlogService {

    String myBlog(Integer blogId);

    boolean isExits(Integer blogid);

    void createBlog(Bolg blog);


    void deleteByUserId(Integer blogId);
}
